import { createApp } from 'vue'
import { createPinia } from 'pinia'
import router from './router'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import './assets/main.css'
import App from './App.vue'
import iconAl from '@/components/Tticon/iconAl.vue'
import init from '@/coument/init'
const app = createApp(App)
app.use(Antd)

app.use(createPinia())

app.component('icon',iconAl)
// app.use(Antd).mount('#app')
init().then((res:any)=>{
    console.log('----------------------------')
    app.use(router)
        app.mount('#app')
     })
     